import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import toast from 'components/common/toast'
import toast2 from 'components/common/toast/index2.js'

//安装自定义插件,使用use 回自动执行插件的install方法
Vue.use(toast)
Vue.use(toast2)


Vue.config.productionTip = false;

//创建事件总线
Vue.prototype.$bus = new Vue();

new Vue({
  router,
  store,

  render: h => h(App),
}).$mount('#app')
